#ifndef B2GDNS_BUFFERUTIL_H
#define B2GDNS_BUFFERUTIL_H

namespace b2gdns {

	unsigned short read16bits(char*& buffer);
	unsigned int read32bits(char*& buffer);

	void write16bits(char*& buffer, unsigned short bytes);

} // namespace b2gdns

#endif // B2GDNS_BUFFERUTIL_H
